package com.vv.tools.common.support;

import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.Getter;
import lombok.Setter;

import io.swagger.v3.oas.annotations.media.Schema;

@Getter
@Setter
public class BasePage {

    @Schema(title = "page index")
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private Integer pageIndex = 1;

    @Schema(title = "page size")
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private Integer pageSize = 10;

}
